# 请求网址:http://182.92.81.159:8080/wx/auth/login
# 请求方法:POST
# 请求头：
# Content-Type: application/json;charset=utf-8
# 请求体：
# {"username":"user123","password":"user123"}

# 导包
import requests
# 发送接口请求
resp = requests.post(url="http://192.168.127.152:8080/wx/auth/login",
              headers={"Content-Type":"application/json;charset=utf-8"},
              json={"username":"user123","password":"user123"})
# 获取响应数据
print(resp.json())

